package com.xsd.parser.module;

import cn.afterturn.easypoi.excel.annotation.Excel;
import java.io.Serializable;
/**
 * <p>
 * annotation组件
 * </p>
 *
 * @author kehaofei
 * @since 2019-12-09
 */
public class AnnotationModel implements Serializable{

    private static final long serialVersionUID = 1L;

    /**
     * 英文定义
     */
    @Excel(name = "英文定义", orderNum = "1",isImportField = "true")
    private String annotationEN;
    /**
     * 中文定义
     */
    @Excel(name = "中文定义", orderNum = "2",isImportField = "true")
    private String annotationCN;

    public String getAnnotationEN() {
        if(annotationEN==null || annotationEN.isEmpty()){
            return "";
        }
        return annotationEN;
    }

    public void setAnnotationEN(String annotationEN) {
        this.annotationEN = annotationEN;
    }

    public String getAnnotationCN() {
        if(annotationCN==null || annotationCN.isEmpty()){
            return "";
        }
        return annotationCN;
    }

    public void setAnnotationCN(String annotationCN) {
        this.annotationCN = annotationCN;
    }

    @Override
    public String toString() {
        return "AnnotationModel{" +
                "annotationEN='" + annotationEN + '\'' +
                ", annotationCN='" + annotationCN + '\'' +
                '}';
    }
}
